#include "arc.h"

using namespace PBVP;

int SuperArc::globalId = 0;

SuperArc::SuperArc()
: intra_node(-1)
{
	v1 = v2 = 0;
	xe = be = 0;
	id = globalId;
	globalId ++;
}

SuperArc::SuperArc(int _v1, int _v2, int _xe, int _be)
: intra_node(-1)
{
	v1 = _v1;
	v2 = _v2;
	xe = _xe;
	be = _be;
	id = globalId;
	globalId ++;
}

BettiNumber SuperArc::getBettiNumbers()
{
	BettiNumber betti;
	betti.b0 = 1;
	betti.b1 = betti1();
	betti.b2 = betti2();
	return betti;
}


